<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/8/3
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath(); %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<!--[if lte IE 8]>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/web/js/excanvas.js"></script>
<![endif]-->
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-3.5.1.min.js"></script>

<ul class="hc_list reset" >
    <c:forEach items="${requestScope.companies}" var="companies" varStatus="stat">
        <li >
            <a href="/zhuang/company/myhome?id=${companies.id}" target="_blank">
                <h3 title="${companies.companyName}">${companies.companyName}</h3>
                <div class="comLogo">
                    <img src="${pageContext.request.contextPath}/static/uploadImg/${companies.logo}" width="190" height="190" alt="博雅" />
                    <ul>
                        <li>${companies.industry.industryName}</li>
                        <li>${companies.stage.stageName}</li>
                    </ul>
                </div>
            </a>

            <c:forEach items="${requestScope.allIndustryList}" var="map">

                <c:if test="${map.com eq companies.id}">
                    <c:forEach items="${map.ind}" var="asd">
                        <a  target="_blank">${asd.name}</a>
                    </c:forEach>
                </c:if>

            </c:forEach>
            <ul class="reset ctags">
                <c:forEach  items="${requestScope.allTagsList}" var="maps">
                    <c:if test="${maps.coms eq companies.id}">
                        <c:forEach items="${maps.inds}" var="asds">
                            <li>${asds.tags.tagName}</li>
                        </c:forEach>
                    </c:if>
                </c:forEach>
            </ul>
        </li>
    </c:forEach>
</ul>
总共${requestScope.pageInfo.total} 条
<div class="Pagination">
    ${requestScope.pageInfo.total}条
    ${requestScope.pageInfo.pages}页
    <a href="#" data-pagenum="1">首页 </a>

    <c:if test="${requestScope.pageInfo.pageNum gt 1}">
        <a href="#" data-pagenum="${requestScope.pageInfo.pageNum-1}">上一页</a>
    </c:if>


    <c:forEach begin="1" end="${requestScope.pageInfo.pages}" var="i">

        <a href="#" data-pagenum="${i}"
            <c:if test="${i eq requestScope.pageInfo.pageNum}"> class="current" </c:if>>${i}</a>
        </c:forEach>


    <c:if test="${requestScope.pageInfo.pageNum lt requestScope.pageInfo.pages}">
        <a href="#" data-pagenum="${requestScope.pageInfo.pageNum+1}">下一页</a>
    </c:if>
    <a href="#" data-pagenum="${requestScope.pageInfo.pages}">尾页 </a>
    ${requestScope.pageInfo.pageNum}/${requestScope.pageInfo.pages}页

</div>


